set :deploy_to, "/opt/www/#{application}"
set :deploy_via, :copy

# server username
set :user, "dreamers"
role :app, "dreamers@192.168.102.41", "dreamers@192.168.102.42", "dreamers@192.168.102.43", "dreamers@192.168.102.44"
set :copy_remote_dir, '/home/dreamers/tmp'

# Options.
# set :use_sudo, false
set :use_sudo, true
default_run_options[:pty] = true
